--------------------------------------------------------------
Project Name:   Image Filter Arrays
Author: 	JF Heukelman 005538085
Course:		Psych221	
Description:	README file for brute force simulations to 
		calculate filter colors
--------------------------------------------------------------

Folder: TestResults
--------------------

This contains the metrics saved for each sensor in the files 
Results_X.mat, where X is the sensor number (3,4,5,6,7).
Running the Matlab Script PlotResults.m creates the plots
for the metrics and saves them in both eps and png format
in the "Images" subfolder.

Folders: SimulateX
-------------------

These folders contain all the files to run the brute force 
simulations for each number of color filters, X = (3,4,5,6,7).
Each of the folders contains the following files:

Files to run to generate results:
- SimulateX_Main.m
	Run this file to simulate the X	color sensor simulation
- SimulateX_Selected.m
	Run this to find specific results from the Results_X.mat
	file and plot the MTF, DeltaE and sensor noise figures
	in Images subfolder.


Decriptions of all files:
- SimulateX_Main.m
	This runs the project for X sensor colors
- SimulateX_Sub.m
	Called by SimulateX_Main to run each of the iterations
- SimulateX_Selected.m
	This file runs the X sensor project based on a selected
	set of previous results.
- CreateSensorGauss.m: 
	This file defines a custom image sensor array
	of Gaussians
- DefineMacbethScene.m:
	This file defines the scene used to measure the color 
	accuracy of the sensor under test.
- DefineMTFScene.m:
	This file defines the scene used to measure the resolution
	of the sensor array under test.	
- DefineOptics.m
	This script defines the diffraction-limited optics
- ExtractSettings.m
	This file gets the parameters for the current simulation
- GenSensorDataX.m
	This routine determines all the possible sensor 
	settings that will be used for a X-color sensor and 
	saves the result in the file SensorDataX.mat. Each 
	row contains the following:
- GetSensorParameters.m
	Called by ExtractSettings to get parameters from the 
	sensor, scene and optics structures
- InitializeProject.m
	This file initializes all the globalproject 
	settings and parameters.
- MacBethAnalysis.m
	This file performs the analysis of the data collected 
	during the MacBeth tests.
- MTFAnalysis.m
	This file performs the analysis of the data collected 
	during the MTF tests.
- ProcessImage.m
	This file performs post-processing on the image
- Results_X.mat
	Stores the result from the brute force simulation 
	for X colors
- Results_X_Selected.mat
	Stores the results from the selected subset of results 
	generated by SimulateX_Selected.m
